def sum_numbers(*args):
    """
    累计求和返回值
    :param args:多个参数
    :return: 返回计算结果
    """
    # 多值参数的结果是元组
    result = 0
    for i in args:
        result += i
    return result


num = (1, 2, 3, 4, 5)
print(sum_numbers(*num))
